<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
    
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta charset="utf-8" />
 <title>cisau信院免费邮--校园邮箱第一品牌</title>
<link rel="shortcut icon" href="<%=basePath %>images/favicon.ico" type="image/x-icon"/>
    <meta name="description" content="app, web app, responsive, admin dashboard, admin, flat, flat ui, ui kit, off screen nav" />
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
  <link rel="stylesheet" href="<%=basePath %>js/jPlayer/jplayer.flat.css" type="text/css" />
  <link rel="stylesheet" href="<%=basePath %>css/bootstrap.css" type="text/css" />
  <link rel="stylesheet" href="<%=basePath %>css/animate.css" type="text/css" />
  <link rel="stylesheet" href="<%=basePath %>css/font-awesome.min.css" type="text/css" />
  <link rel="stylesheet" href="<%=basePath %>css/simple-line-icons.css" type="text/css" />
  <link rel="stylesheet" href="<%=basePath %>css/font.css" type="text/css" />
  <link rel="stylesheet" href="<%=basePath %>css/app.css" type="text/css" />  
  </head>
<body class="bg-info dker">
  <section id="content" class="m-t-lg wrapper-md animated fadeInUp">    
    <div class="container aside-xl">
      <a class="navbar-brand block" href="index.html"><span class="h1 font-bold">登录</span></a>
      <section class="m-b-lg">
        <header class="wrapper text-center">
          <strong>输入您的邮箱和密码</strong>
        </header>
        <form action="<%=basePath%>puser/login" method="post">
          <div class="form-group">
            <input type="email" placeholder="Email" name="email"  id="input" onblur="getinputval()" class="form-control rounded input-lg text-center no-border">
          </div>
          <div class="form-group">
             <input type="password" placeholder="Password" name="password" class="form-control rounded input-lg text-center no-border">
          </div>
          <button type="submit" class="btn btn-lg btn-warning lt b-white b-2x btn-block btn-rounded"><i class="icon-arrow-right pull-right"></i><span class="m-r-n-lg">Sign in</span></button>
          <div class="text-center m-t m-b" id="t1">
          
          
          
          
          </div>
        <!--这里的js用来进行忘记密码操作-->
          <script type="text/javascript">
             function getinputval(){
              debugger
            var email = $('#input').val();
            $('#t1').html('<a href="<%=basePath %>puser/resetByEncrypted?email='+email+'"><small>忘记密码??</small></a>')
             }

        </script>
          
          <div class="line line-dashed"></div>
          
          
          
          <p class="text-muted text-center"></p>
          <a href="<%=basePath %>jsp/rigester.jsp" class="btn btn-lg btn-info btn-block rounded">创建一个邮箱</a>
        </form>
      </section>
    </div>
  </section>
  <!-- footer -->
  <footer id="footer">
    <div class="text-center padder">
      <p>
        <small>网站式框架邮件收发系统 on 农大信院<br>&copy; 2020</small>
      </p>
    </div>
  </footer>
  <!-- / footer -->
  <script src="<%=basePath %>js/jquery.min.js"></script>
  <!-- Bootstrap -->
  <script src="<%=basePath %>js/bootstrap.js"></script>
  <!-- App -->
  <script src="<%=basePath %>js/app.js"></script>  
  <script src="<%=basePath %>js/slimscroll/jquery.slimscroll.min.js"></script>
    <script src="<%=basePath %>js/app.plugin.js"></script>
  <script type="text/javascript" src="<%=basePath %>js/jPlayer/jquery.jplayer.min.js"></script>
  <script type="text/javascript" src="<%=basePath %>js/jPlayer/add-on/jplayer.playlist.min.js"></script>
  <script type="text/javascript" src="<%=basePath %>js/jPlayer/demo.js"></script>
</body>
</html>